﻿using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KDS.Mes.Mes.Cartypes
{
    /// <summary>
    /// 车型信息
    /// </summary>
    [Table("T_BomCartype")]

    public class Cartype : FullAuditedEntity
    {
        /// <summary>
        /// 车型名称
        /// </summary>
        [Required]
        [MaxLength(20)]
        public string CartypeName { get; set; }

        /// <summary>
        /// 车型代码
        /// </summary>
        [Required]
        [MaxLength(20)]
        public string CartypeCode { get; set; }

        public Cartype(string cartypeName, string cartypeCode)
        {
            CartypeName = cartypeName;
            CartypeCode = cartypeCode;

        }

        public Cartype()
        {

        }
    }
}
